Instead of overriding the hide() method, use the vfunc to
reset, and hide the workspaces display too.
https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1295
super._init({
name: 'viewSelector',
x_expand: true,
+ visible: false,
});
this._showAppsButton = showAppsButton;
}
animateToOverview() {
+ this.show();
this.reset();
this._workspacesDisplay.animateToOverview(this._showAppsButton.checked);
this._activePage = null;
this._workspacesDisplay.setWorkspacesFullGeometry(geom);
}
- hide() {
+ vfunc_hide() {
this.reset();
this._workspacesDisplay.hide();
+
+ super.vfunc_hide();
}
_addPage(actor, name, a11yIcon, params) {